package com.bosssoft.g1.authserver.mapper;

import com.bosssoft.g1.authserver.entity.User;
import com.bosssoft.g1.authserver.entity.UserRoleDTO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.MySqlMapper;
import tk.mybatis.mapper.entity.Example;

import java.util.List;

/**
 * @author WangXin
 */
@org.apache.ibatis.annotations.Mapper
public interface UserMapper extends tk.mybatis.mapper.common.Mapper<User>, MySqlMapper<User> {

    List<User> selectByCode(@Param("code") String code);
//
//    List<Integer> selectUserRole(@Param("id")Long id);
//
//    List<String> selectRole(@Param("roleIds") List<Integer> roleIds);
}